# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include clusters::besproxy
class clusters::besproxy {
  package {"iptables-services":
    ensure => installed
  } ->

  file{"/etc/sysconfig/iptables":
    mode       =>  '600',
    owner      =>  'root',
    group      =>  'root',
    source     =>  "puppet:///modules/${module_name}/iptables-for-besproxy",
    require    =>  File['/root/bin'],
    notify     =>  Service["iptables"],
  } ->
  service {"iptables":
    ensure      => running,
    hasstatus   => true,
    hasrestart  => true,
    enable      => true,
  }
}
